package com.qili.service.search.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.search.BaseGreenRole;
import com.qili.entity.search.FileComment;
import com.qili.entity.search.dto.BaseBigGreenRoleDTO;
import com.qili.mapper.search.BaseGreenRoleMapper;
import com.qili.mapper.search.FileCommentMapper;
import com.qili.service.search.BaseGreenRoleService;
import com.qili.service.search.FileCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2021/6/15
 * @description  大屏显示角色配置
 */
@Service
public class BaseGreenRoleServiceImpl  extends BaseServiceImpl<BaseGreenRole,String> implements BaseGreenRoleService {

    @Autowired
    BaseGreenRoleMapper   baseGreenRoleMapper;

    @Override
    public BaseMapper<BaseGreenRole, String> getMappser() {
        return baseGreenRoleMapper;
    }

    public List<BaseBigGreenRoleDTO> selectListRoleBigGreen(BaseBigGreenRoleDTO dto){
        List<BaseBigGreenRoleDTO> baseBigGreenRoleDTOS = baseGreenRoleMapper.selectListRoleBigGreen(dto);
        return baseBigGreenRoleDTOS;
    }



}
